<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script  src="vue.js"></script>
</head>

<!--张三成绩：20210340908付飞飞-->

<body>
        <div  id="app">
                请输入张三的成绩<input  type="text" v-model="score"/>
                <div v-if="score>=90">优秀</div>
                <div v-else-if="score>=75">良好</div>
                <div v-else-if="score>=60">及格</div>
                <div v-else>不及格</div>
        </div>

        <script>
                
                var  app=new Vue({
                       el:'#app',
                       data:{
                              score:0
                       }
                })
        </script>
</body>
</html>